//
//  LSZPayFootCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2018/3/29.
//  Copyright © 2018年 LC. All rights reserved.
//

#import "LSZPayFootCell.h"

@implementation LSZPayFootCell

 -(id)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        self.butSave = [[UIButton alloc]init];
        self.butSave.backgroundColor = navColor;
        [self.butSave.layer setMasksToBounds:YES];
        [self.butSave.layer setCornerRadius:4];
        [self.butSave setTitle:@"提交" forState:UIControlStateNormal];
        [self.butSave setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
        [self addSubview:self.butSave];
        if (ScreenWidth == 320) {
            //5
            self.butSave.frame = CGRectMake(20,20, ScreenWidth-40,40);
        }else if(ScreenWidth == 375){
            // 6 7
            self.butSave.frame = CGRectMake(20,20, ScreenWidth-40,45);
        }else {
            //plus
            self.butSave.frame = CGRectMake(20,20, ScreenWidth-40,50);
        }
    }
    return self;
}
@end
